function createcssmenu(){
	var key=document.getElementById('keysubmenu1');
	var submenu=document.getElementById('submenu1');
	key.onmouseover = function() {
		submenu.style.display='block';
	}
	key.onmouseout = function() {
		submenu.style.display='none';
	}
	submenu.onmouseover = function() {
		submenu.style.display='block';
	}
	submenu.onmouseout = function() {
		submenu.style.display='none';
	}
	
	var key1=document.getElementById('keysubmenu2');
	var submenu1=document.getElementById('submenu2');
	key1.onmouseover = function() {
		submenu1.style.display='block';
	}
	key1.onmouseout = function() {
		submenu1.style.display='none';
	}
	submenu1.onmouseover = function() {
		submenu1.style.display='block';
	}
	submenu1.onmouseout = function() {
		submenu1.style.display='none';
	}
	
	var key2=document.getElementById('chuyenmucdacbiet');
	var submenu2=document.getElementById('cmdbsubmenu');
	key2.onmouseover = function() {
		submenu2.style.display='block';
	}
	key2.onmouseout = function() {
		submenu2.style.display='none';
	}
	submenu2.onmouseover = function() {
		submenu2.style.display='block';
	}
	submenu2.onmouseout = function() {
		submenu2.style.display='none';
	}
	
	var key3=document.getElementById("topmenu-right-sub");
	var submenu3=document.getElementById("subdangtin");
	key3.onmouseover = function() {
		submenu3.style.display='block';		
	}
	key3.onmouseout = function() {
		submenu3.style.display='none';
	}
	submenu3.onmouseover = function() {
		submenu3.style.display='block';
	}
	submenu3.onmouseout = function() {
		submenu3.style.display='none';
	}
	
	var key4=document.getElementById("menutrai-item");
	var submenu4=document.getElementById("menutrai-item-sub");
	key4.onmouseover = function() {
		submenu4.style.display='block';			
	}
	key4.onmouseout = function() {
		submenu4.style.display='none';
	}
	submenu4.onmouseover = function() {
		submenu4.style.display='block';
	}
	submenu4.onmouseout = function() {
		submenu4.style.display='none';
	}
	
}


if (window.addEventListener)
window.addEventListener("load", createcssmenu, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu)